package com.dyw.springboot06mybatis.Dao;

import com.dyw.springboot06mybatis.Domain.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Devil
 *
 * @create 2022-01-20-23:37
 */
@Mapper
public interface StudentDao {
    @Select("select id,name,age from student order by id")
    List<Student> selectStudents();
}
